home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19990725-20000114 / 000098_news@columbia.edu _Tue Sep 14 20:51:58 1999.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id UAA20702
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Tue, 14 Sep 1999 20:51:57 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id UAA21346
  7.     for kermit.misc@watsun.cc.columbia.edu; Tue, 14 Sep 1999 20:22:50 -0400 (EDT)
  8. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  9. From: Mark Sapiro <msapiro@value.net>
  10. Subject: Re: Q: about scripts & .kermrc
  11. Date: Tue, 14 Sep 1999 17:21:42 -0700
  12. Organization: Not Very Much
  13. Message-ID: <37DEE696.D7423E9@value.net>
  14. To: kermit.misc@columbia.edu
  15.  
  16. nigel@DELETE-NOSPAM.negin.nu wrote:
  17. > I'm using a shell script called 'dialout' which sets some environment varibales
  18. > and then call a kermit script (starts with #!/usr/local/bin/kermit +  )
  19. > which will go out and find the first available modem on a modem pool.
  20. > I also have a .kermrc file which doesn't appear to be executed when I run
  21. > dialout to eventually load kermit.
  22. > Is there something I can put in the script to force kermit to load the
  23. > .kermrc or am I missing something? I've looked around and havn't seen
  24. > anything mentioned about it.
  25. > C-Kermit 7.0.196 Beta.10, 4 Sep 1999, for IBM AIX 4.1
  26.  
  27. This behavior is intentional.  See Ckermit2.txt, sec 7.19 a. Partially
  28. quoted below.  If you don't need to pass command line arguments to the
  29. script, you can remove the '+' from the end of the 'kerbang' line. 
  30. Otherwise, you can put a 'take' command for .kermrc in the script.
  31.  
  32. a. The first line of the Kermit script must begin with "#!" immediately
  33.    followed by the full pathname of the program that will execute the
  34.    script (in this case, C-Kermit rather than a UNIX shell), followed by
  35.    any Kermit command-line options.  To suppress execution of the C-Kermit
  36.    initialization file and to make command line arguments available to the
  37.    script, the final option should be "+":
  38.  
  39.    #!/usr/local/bin/kermit +
  40.  
  41.  
  42.  
  43. -- 
  44. Mark Sapiro <msapiro@value.net>       The highway is for gamblers,
  45. San Francisco Bay Area, California    better use your sense - B. Dylan
  46.